* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: #fff;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    background: linear-gradient(to right, #ff8a00, #da1b60);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    max-width: 800px;
}

.btn {
    padding: 14px 28px;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn:active {
    transform: translateY(1px);
}

.btn-success {
    background: linear-gradient(to right, #00b09b, #96c93d);
    color: white;
}

.btn-warning {
    background: linear-gradient(to right, #ff8a00, #ffc400);
    color: white;
}

.btn-error {
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    color: white;
}

.btn-info {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: white;
}

.btn-question {
    background: linear-gradient(to right, #da22ff, #9733ee);
    color: white;
}

.btn-custom {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.code-container {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 25px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-top: 20px;
    overflow-x: auto;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.code-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e1e1e1;
}

.copy-btn {
    background: #3a3a3a;
    color: #e1e1e1;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #4a4a4a;
}

pre {
    color: #dcdcdc;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
}

.footer {
    margin-top: 50px;
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    max-width: 800px;
}

.footer a {
    color: #a3d9ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
}